#!/bin/bash
ANA_DIR=`pwd`
echo Current dir: $ANA_DIR

test -d toys || mkdir toys
TOY_DIR=${ANA_DIR}/toys
test -d ${TOY_DIR}/dat || mkdir ${TOY_DIR}/dat

root -b << EOF
.L ~/headfiles/Xic2XimPi/RooAngularPdf.cxx+
.L pseudo.C
pseudo()
EOF
#.x writeroot.C

rm -rf ${TOY_DIR}/dat 
echo Done  !!
echo completed at $(date)


